package ltd.dujiabao.ucenterservice.config;

import com.baomidou.mybatisplus.core.injector.ISqlInjector;
import com.baomidou.mybatisplus.extension.injector.LogicSqlInjector;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author : DuJiabao
 * @Project : online-course-project
 * @Time : 2021/4/24 15:45
 * @Desc :
 */
@Configuration
public class UcenterConfig {
  @Bean
  public ISqlInjector sqlInjector() {
    return new LogicSqlInjector();
  }
}
